package com.xh.bussiness.tiku.dao;

import com.xh.bussiness.tiku.bean.dto.KnowledgeNodeRelationDto;
import com.xh.bussiness.tiku.bean.request.KnowledgeRequest;
import com.xh.bussiness.tiku.model.KnowledgeNodeRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 知识点节点关联表 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface KnowledgeNodeRelationMapper extends BaseMapper<KnowledgeNodeRelation> {

    XhPage<KnowledgeNodeRelationDto> selectKnowledgeNodeRelation(XhPage page, @Param("bean") KnowledgeRequest bean);

    List<KnowledgeNodeRelationDto> selectKnowledgeNodeRelation(@Param("bean") KnowledgeRequest bean);

}
